package com.abvnet.project.water.project.service;

import com.abvnet.project.water.project.domain.ProjectComment;

import java.util.List;

/**
 * 员工互评 服务层
 * 
 * @author duj
 * @date 2019-07-19
 */
public interface IProjectCommentService {
	/**
     * 查询员工互评信息
     * 
     * @param commentId 员工互评ID
     * @return 员工互评信息
     */
	public ProjectComment selectProjectCommentById(Long commentId);
	
	/**
     * 查询员工互评列表
     * 
     * @param projectComment 员工互评信息
     * @return 员工互评集合
     */
	public List<ProjectComment> selectProjectCommentList(ProjectComment projectComment);

	List<ProjectComment> selectProjectCommentListForApi(ProjectComment projectComment);

	/**
     * 新增员工互评
     * 
     * @param projectComment 员工互评信息
     * @return 结果
     */
	public int insertProjectComment(ProjectComment projectComment);
	
	/**
     * 修改员工互评
     * 
     * @param projectComment 员工互评信息
     * @return 结果
     */
	public int updateProjectComment(ProjectComment projectComment);
		
	/**
     * 删除员工互评信息
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
	public int deleteProjectCommentByIds(String ids);
	
}
